<form action="./logout.php" method="post" class="navbar-form navbar-right">
<div class="form-group">
		<button type="submit" name="logout" class="btn btn-success"> Log Out </button>
		<?php $_SESSION['return_to'] = $_SERVER['PHP_SELF']; ?>
		</div>
</form>